package com.ang.reflection.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @author ssang
 * @date 2022-04-14 10:15
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class User {
    public String name;

    private String sex;

    private int age;

    public String desc;

    public void eat(){
        System.out.println("eat...");
    }

    public void eat(String food){
        System.out.println("eat"+food);
    }

}
